package com.obj;

public class ChangeObject {
	public int num = 10;

	public static void main(String[] args) {

		ChangeObject obj1 = new ChangeObject();
		ChangeObject obj2 = obj1;

		System.out.println(obj1.num);
		obj2.num = 20;
		System.out.println(obj1.num);
		System.out.println(obj1 == obj2);
		

	}

}
